home *** CD-ROM | disk | FTP | other *** search
- Attribute VB_Name = "modSND"
- Option Explicit
-
- '=======================
- 'Sound.
- '=======================
- Public Const SND_SYNC = &H0
- Public Const SND_ASYNC = &H1
- Public Const SND_NODEFAULT = &H2
- Public Const SND_MEMORY = &H4
- Public Const SND_LOOP = &H8
- Public Const SND_NOSTOP = &H10
-
- 'Sound (SFX( *.WAV)).
- Public Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" _
- (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
-
- Public Declare Function sndStopSound Lib "winmm.dll" Alias "sndPlaySoundA" _
- (ByVal lpszNull As Long, ByVal uFlags As Long) As Long
-
- 'Sound (MUSIC( *.MID)).
- Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" _
- (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, _
- ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long
-
- '"<space><underscore>" allows for code to be broken
- 'up into multi lines...
-
-